on mouseDown
  global work,g
  puppetSprite 1,TRUE
  
  repeat with g = 53 to 82
    set work = the memberNum of sprite g
    case (work) of
      "1" set the castNum of sprite 1 to cast "B01"
        updateStage
        play "show"
      "2" set the castNum of sprite 1 to cast "B02"
        updateStage
        play "show"
      "3" set the castNum of sprite 1 to cast "B03"
        updateStage
        play "show"
      "4" set the castNum of sprite 1 to cast "B04"
        updateStage
        play "show"
      "5" set the castNum of sprite 1 to cast "B05"
        updateStage
        play "show"
      "6" set the castNum of sprite 1 to cast "B06"
        updateStage
        play "show"
      "7" set the castNum of sprite 2 to cast "B07"
        play "show"
      "8" set the castNum of sprite 2 to cast "B08"
        play "show"
      "9" set the castNum of sprite 2 to cast "B09"
        play "show"
      "10" set the castNum of sprite 2 to cast "B10"
        play "show"
      "11" set the castNum of sprite 2 to cast "B11"
        play "show"
      "12" set the castNum of sprite 2 to cast "B12"
        play "show"
      "13" set the castNum of sprite 2 to cast "B13"
        play "show"
      "14" set the castNum of sprite 2 to cast "B14"
        play "show"
      "15" set the castNum of sprite 2 to cast "B15"
        play "show"
      "16" set the castNum of sprite 2 to cast "B16"
        play "show"
      "17" set the castNum of sprite 2 to cast "B17"
        play "show"
      "18" set the castNum of sprite 2 to cast "B18"
        play "show"
      "19" set the castNum of sprite 2 to cast "B19"
        play "show"
      "20" set the castNum of sprite 2 to cast "B20"
        play "show"
      "21" set the castNum of sprite 2 to cast "B21"
        play "show"
      "22" set the castNum of sprite 2 to cast "B22"
        play "show"
      "23" set the castNum of sprite 2 to cast "B23"
        play "show"
      "24" set the castNum of sprite 2 to cast "B24"
        play "show"
      "25" set the castNum of sprite 2 to cast "B25"
        play "show"
      "26" set the castNum of sprite 2 to cast "B26"
        play "show"
      "27" set the castNum of sprite 2 to cast "B27"
        play "show"
      "28" set the castNum of sprite 2 to cast "B28"
        play "show"
      "29" set the castNum of sprite 2 to cast "B29"
        play "show"
      "30" set the castNum of sprite 2 to cast "B30"
        play "show"
      "31" set the castNum of sprite 2 to cast "B31"
        play "show"
      "32" set the castNum of sprite 2 to cast "B32"
        play "show"
      "33" set the castNum of sprite 2 to cast "B33"
        play "show"
      "34" set the castNum of sprite 2 to cast "B34"
        play "show"
      "35" set the castNum of sprite 2 to cast "B35"
        play "show"
      "36" set the castNum of sprite 2 to cast "B36"
        play "show"
      "37" set the castNum of sprite 2 to cast "B37"
        play "show"
      "38" set the castNum of sprite 2 to cast "B38"
        play "show"
      "39" set the castNum of sprite 2 to cast "B39"
        play "show"
      "40" set the castNum of sprite 2 to cast "B40"
        play "show"
      "41" set the castNum of sprite 2 to cast "B41"
        play "show"
      "42" set the castNum of sprite 2 to cast "B42"
        play "show"
      "43" set the castNum of sprite 2 to cast "B43"
        play "show"
      "44" set the castNum of sprite 2 to cast "B44"
        play "show"
      "45" set the castNum of sprite 2 to cast "B45"
        play "show"
      "46" set the castNum of sprite 2 to cast "B46"
        play "show"
      "47" set the castNum of sprite 2 to cast "B47"
        play "show"
      "48" set the castNum of sprite 2 to cast "B48"
        play "show"
      "49" set the castNum of sprite 2 to cast "B49"
        play "show"
      "50" set the castNum of sprite 2 to cast "B50"
        play "show"
    end case
--        set g = g + 1
  end repeat
end